package game.adm.dao.factory;

import game.adm.dao.BonusDAO;
import game.adm.dao.impl.BonusDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class BonusFactory {

	private static BonusFactory factory = new BonusFactory();

	public static void setFactory(BonusFactory factory) {
		BonusFactory.factory = factory;
	}

	public static BonusFactory getFactory() {
		return factory;
	}

	public BonusDAO getBonusDAO() throws ProjectXSystemException {
		return new BonusDAOImpl();
	}
}
